import request from '../utils/fetch'
export function getList (data) {
  return request({
    url: '/admin/city/getList',
    method: 'get',
    requestBody: 'query',
    loading: true,
    params: data
  })
}
export function add (data) {
  return request({
    url: '/admin/city/add',
    method: 'post',
    requestBody: 'query',
    loading: true,
    data: data
  })
}
export function btnupdate (data) {
  return request({
    url: '/admin/city/updateStatus',
    method: 'post',
    requestBody: 'query',
    loading: true,
    data: data
  })
}
export function getAllList (data) {
  return request({
    url: '/admin/city/getAllList',
    method: 'get',
    requestBody: 'query',
    loading: true,
    params: data
  })
}


